import request from '@/utils/request';

export async function getBomReviewMainByPage (params: any) {
    return request('/api/design/getBomReviewMainByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addBomReviewMain (params: any) {
    return request('/api/design/addBomReviewMain', {
    method: 'POST',
    data: params,
  });
}

export async function updateBomReviewMain (params: any) {
    return request('/api/design/updateBomReviewMain', {
    method: 'POST',
    data: params,
  });
}

export async function delBomReviewMain (params: any) {
    return request('/api/design/delBomReviewMain', {
    method: 'POST',
    data: params,
  });
}


export async function exportBomReviewMain(params: any) {
    return request('/api/design/exportBomReviewMain', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getBomReviewMainByPage, addBomReviewMain, updateBomReviewMain, delBomReviewMain, exportBomReviewMain }
